package com.cainiao.mapper;

import com.cainiao.pojo.WithdrawCashLog;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface WithdrawCashLogMapper {
    /**
     *  根据主键删除数据库的记录,withdraw_cash_log
     *
     * @param logId
     */
    int deleteByPrimaryKey(Integer logId);

    /**
     *  新写入数据库记录,withdraw_cash_log
     *
     * @param record
     */
    int insert(WithdrawCashLog record);

    /**
     *  动态字段,写入数据库记录,withdraw_cash_log
     *
     * @param record
     */
    int insertSelective(WithdrawCashLog record);

    /**
     *  根据指定主键获取一条数据库记录,withdraw_cash_log
     *
     * @param logId
     */
    WithdrawCashLog selectByPrimaryKey(Integer logId);

    /**
     *  动态字段,根据主键来更新符合条件的数据库记录,withdraw_cash_log
     *
     * @param record
     */
    int updateByPrimaryKeySelective(WithdrawCashLog record);

    /**
     *  根据主键来更新符合条件的数据库记录,withdraw_cash_log
     *
     * @param record
     */
    int updateByPrimaryKey(WithdrawCashLog record);
}